package com.zp.drug.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import com.zp.system.api.entity.SysDictData;
import lombok.Data;


/**
 * 出入库分类字典表视图对象
 *
 * @author zhang peng
 * @ date 2023-06-20
 */
@Data
@ExcelIgnoreUnannotated
public class DrugInoutClassVo {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 出入库区分
     */
    @ExcelProperty(value = "出入库区分", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "in_out_distinguish")
    private String inoutType;

    /**
     * 入库分类
     */
    @ExcelProperty(value = "入库分类", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "drug_stotarg_type")
    private String type;

    /**
     * 所属类别
     */
    @ExcelProperty(value = "所属类别")
    private String statisticClass;

    /**
     * 库存类型
     */
    @ExcelProperty(value = "库存类型")
    private String storageType;

    /**
     * 来源(上级、平级、下级、供货商)
     */
    @ExcelProperty(value = "来源(上级、平级、下级、供货商)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "drug_from_level")
    private String fromLevel;

    /**
     * 是否记账 Y：是；N：否
     */
    @ExcelProperty(value = "是否记账 Y：是；N：否", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String accountFlag;

    /**
     * 机构ID
     */
    @ExcelProperty(value = "机构ID")
    private String orgId;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remarks;


    /**
     * 排序
     */
    private Long sort;

    /**
     * 药品分类（西药中草药中成药辅料疫苗试剂其他）
     */
    private String drugClass;

    private SysDictData sysDictData;

}
